package com.groupbuying.settleproducer.dto;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: WANGNING
 * @Email wyn20140226@aliyun.com
 * @Date: 2019/5/10 9:57
 * @Des 分账查询返回参数
 */
public class YSSplitResquestReturnDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 返回码
     */
    private String code;
    /**
     * 返回说明
     */
    private String msg;

    /**
     * 发起方商户号
     */
    private String src_usercode;

    /**
     * 交易日期
     */
    private String trade_date;

    /**
     * 原交易订单号
     */
    private String out_trade_no;

    /**
     * 原交易批次号
     */
    private String out_batch_no;

    /**
     * 分账模式01 ：比例，02：金额
     */
    private String division_mode;

    /**
     * 原订单交易金额
     */
    private String total_amount;

    /**
     * 原订单手续费
     */
    private String fee;

    /**
     * 手续费承担方
     */
    private String fee_payer;

    /**
     * 分账状态
     */
    private String division_status;

    /**
     * 分账状态码
     */
    private String division_status_code;

    /**
     * 更新时间
     */
    private String updatetime;

    /**
     * 备注
     */
    private String note;

    /**
     * 分账信息
     */
    private List<YSDetailResultsDTO> detailResults;

    public YSSplitResquestReturnDTO() {
        super();
    }

    public YSSplitResquestReturnDTO(String code, String msg, String src_usercode, String trade_date, String out_trade_no, String out_batch_no, String division_mode, String total_amount, String fee, String fee_payer, String division_status, String division_status_code, String updatetime, String note, List<YSDetailResultsDTO> detailResults) {
        this.code = code;
        this.msg = msg;
        this.src_usercode = src_usercode;
        this.trade_date = trade_date;
        this.out_trade_no = out_trade_no;
        this.out_batch_no = out_batch_no;
        this.division_mode = division_mode;
        this.total_amount = total_amount;
        this.fee = fee;
        this.fee_payer = fee_payer;
        this.division_status = division_status;
        this.division_status_code = division_status_code;
        this.updatetime = updatetime;
        this.note = note;
        this.detailResults = detailResults;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSrc_usercode() {
        return src_usercode;
    }

    public void setSrc_usercode(String src_usercode) {
        this.src_usercode = src_usercode;
    }

    public String getTrade_date() {
        return trade_date;
    }

    public void setTrade_date(String trade_date) {
        this.trade_date = trade_date;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getOut_batch_no() {
        return out_batch_no;
    }

    public void setOut_batch_no(String out_batch_no) {
        this.out_batch_no = out_batch_no;
    }

    public String getDivision_mode() {
        return division_mode;
    }

    public void setDivision_mode(String division_mode) {
        this.division_mode = division_mode;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getFee_payer() {
        return fee_payer;
    }

    public void setFee_payer(String fee_payer) {
        this.fee_payer = fee_payer;
    }

    public String getDivision_status() {
        return division_status;
    }

    public void setDivision_status(String division_status) {
        this.division_status = division_status;
    }

    public String getDivision_status_code() {
        return division_status_code;
    }

    public void setDivision_status_code(String division_status_code) {
        this.division_status_code = division_status_code;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public List<YSDetailResultsDTO> getDetailResults() {
        return detailResults;
    }

    public void setDetailResults(List<YSDetailResultsDTO> detailResults) {
        this.detailResults = detailResults;
    }
}
